<div class="choose-city" style="display:none;">
	<div class="mlogo">
		<if condition="$city eq 'all'">
		<a href="/"><img src="{$config['logo']}" /></a>
		<else />
		<a href="/{$city}/"><img src="{$config['logo']}" /></a>
		</if>
		</div>
	<div class="search">
		<div class="cancel" data-role="cancel">取消</div>
	</div>
	<div class="city-list">
		<div class="title clear" data-index="热门">热门城市</div>
		<div class="wrap clear">
			<ul>
					<li><a href="/" onclick="setc('all')" class="js-touch-state">全国</a></li>
					<li><a href="/beijing/" onclick="setc('beijing')" class="js-touch-state">北京</a></li>
					<li><a href="/hangzhou/" onclick="setc('hangzhou')" class="js-touch-state">杭州</a></li>
					<li><a href="/guangzhou/" onclick="setc('guangzhou')" class="js-touch-state">广州</a></li>
					<li><a href="/shenzhen/" onclick="setc('shenzhen')" class="js-touch-state">深圳</a></li>
					<li><a href="/tianjin/" onclick="setc('tianjin')" class="js-touch-state">天津</a></li>
					<li><a href="/shanghai/" onclick="setc('shanghai')" class="js-touch-state">上海</a></li>
					<li><a href="/nanjing/" onclick="setc('nanjing')" class="js-touch-state">南京</a></li>
					<li><a href="/wuhan/" onclick="setc('wuhan')" class="js-touch-state">武汉</a></li>
					
					
			</ul>
		</div>
		<div class="city-char">
			
		  <volist name="citylist" id="vo">               
			<div class="title clear" data-index="{$vo.province}">{$vo.province}</div>
			<div class="wrap clear">
				<ul>
					<volist name="vo.city" id="v">   
					<li><a href="/{$v['pinyin']}/" onclick="setc('{$v['pinyin']}')">{$v['city']}</a></li>
					</volist>
				</ul>
			</div>
			</volist>
			
		</div>
		<div class="footerp">
		<p>版权所有 <a target="_blank" href="{$config['site_url']}">{$config['site_name']}</a></p> <p>2015 免费发布信息网  <a href="http://www.miitbeian.gov.cn" target=_blank>{$config['icp']}</a> {$config['tongji']}</p>
		</div>
	</div>
</div>
	
<div class="wrapper">
<div class="cztoonavbig">
<div class="cztoonav">
    <div class="fl"> 
      <script> 
        function y2k(number) { return (number < 1000) ? number + 1900 : number; } 
        var now = new Date(); 
        var dd = now.getDate() , mt = now.getMonth() + 1 , yy = y2k(now.getYear()); 
        document.write("免费发布夜场信息网，今天是"+yy+"年"+mt+"月"+dd+"日"); 
      </script> 
    </div>
<div class="fr">欢迎您，
<if condition="$uinfo eq 0 ">
<span id="userloginmod" name="userloginmod"><a rel="nofollow"  href='{:U('Public/reg')}'>注册</a>&nbsp;|&nbsp;<a rel="nofollow"  href='{:U('Public/login')}'>登录</a></span>

<else />
<span id="userloginmod" name="userloginmod">{$uinfo['username']|substr=0,12}&nbsp;|&nbsp;<a href="{:U('User/index')}">用户中心</a>&nbsp;|&nbsp;<a href="{:U('Public/logout')}">退出</a></span>
</if>
|&nbsp;<a rel="nofollow" href="{:U('User/pay')}">账户充值</a>&nbsp;|&nbsp;<a rel="nofollow" href="/{$city}/publish.html">免费发布信息(无需注册)</a>&nbsp;|&nbsp;<a rel="nofollow" href="{:U('User/index')}">修改删除信息</a>&nbsp;|&nbsp;<a href="/" title="">分类信息首页</a>&nbsp;|
<a  onmouseover="window.external.addFavorite('{$config['site_url']}','夜场招聘网  免费发布分类信息')" target="#" href={$config['site_url']}>加入收藏</a>&nbsp;|&nbsp;<a onClick="SetHome('{$config['site_url']}')" href="javascript:void(0)">设为首页</a></div>
<script type="text/javascript" language="javascript">
    //加入收藏
        function AddFavorite(sURL, sTitle) {
            sURL = encodeURI(sURL); 
        try{   
            window.external.addFavorite(sURL, sTitle);   
        }catch(e) {   
            try{   
                window.sidebar.addPanel(sTitle, sURL, "");
            }catch (e) {   
  
                alert("加入收藏失败，请使用Ctrl+D进行添加,或手动在浏览器里进行设置.");
  
            }   
  
        }
  
    }
  
    //设为首页
  
    function SetHome(url){
  
        if (document.all) {
  
            document.body.style.behavior='url(#default#homepage)';
  
               document.body.setHomePage(url);
  
        }else{
  
            alert("您好,您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!");
  
        }
  
    }
  
</script>
<!--
<a   onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{$config['site_url']}');" href="#">设为首页</a>
-->
<div class="clear"></div>
</div>
</div>
<script>
    if (getCookie("userinfouserid") != null) {
        document.getElementById('userloginmod').innerHTML = decodeURI(escape(getCookie("userinfousername"))) + "&nbsp;|&nbsp;<a href='/members/'>用户中心</a>&nbsp;|&nbsp;<a href='/members/logout.aspx'>退出</a>";
    }
</script>

<div class="mheader">
		<div class="mlogo">
		<if condition="$city eq 'all'">
		<a href="/"><img src="{$config['logo']}" /></a>
		<else />
		<a href="/{$city}/"><img src="{$config['logo']}" /></a>
		</if>
		</div>
		
	

		<nav class="site-nav">	
		<a href="/" onclick="setc('all')"><span>首页</span></a>
		<if condition="$city eq 'all'">
		<a href="/"><span>{$cityname}</span></a>
		<else />
		<a href="/{$city}/"><span>{$cityname}</span></a>
		</if>
		<a href="javascript:;" class="city-change"><span>切换</span></a>
		</nav>
	</div>


<div class="header">
<div class="headermain">
<div class="logo">
 <if condition="$city eq 'all'">
    <a href="/"><img src="{$config['logo']}" /></a>
    <else />
    <a href="/{$city}/"><img src="{$config['logo']}" /></a>
    </if>
</div>
<div class='citys'><h1><a href='/'>{$cityname}</a></h1><span><a href='/'>点此切换城市</a></span></div>



<div class="searchb">
<form name="form0" method="post" onsubmit="return gosearch(0);">
<input class="shuru" id="input_keywords" name="input_keywords" maxlength=40 value="请输入您要查询的内容关键字..." onclick="clearDefaultText(this,'请输入您要查询的内容关键字...')" />
<input class="shurubtn" type="submit" name="search" value="搜索"/>
</form>
<script>
    function gosearch(i) {
				var t = document.getElementsByName("input_keywords")[i].value;
				
				if (t == "" || t == "请输入您要查询的内容关键字...") {
					alert("请输入关键字");
					return false;
				}
				if (t.length < 2) {
					alert("请输入最少2个关键字");
					return false;
				}
				else{
					document.getElementById("form"+i).submit();return true;
				}
			 }

</script>
</div>
<div class="fr" style="padding-top:22px;">
<table class="toppost" cellspacing=4>
<tr>
<td class="do1"><a rel="nofollow"  href="/{$city}/publish.html">免费发布信息</a></td>
<if condition="$uinfo eq 0 ">
	<td class="do2"><a rel="nofollow"  href="{:U('Public/login')}">修改删除信息</a></td>
<else />
	<td class="do2"><a rel="nofollow"  href="{:U('User/index')}">修改删除信息</a></td>
</if>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
</div>


<div class="meunnav">
<ul>
<li class="jg"></li>
    <li class="be cnobg "> <if condition="$city eq 'all'"> <a href="/">首页</a><else /> <a href="/{$city}/">首页</a></if></li>
    <li class="be "><a href="/{$city}/publish.html">免费发布信息</a></li>
      <volist name="cate" id="v">
          <if condition="$v['id'] eq $cateid">
           <li class="be in"><a href="/{$city}/{$v['path']}/" >{$v['name']}</a></li>
          <else />
           <li class="be"><a href="/{$city}/{$v['path']}/" >{$v['name']}</a></li>
          </if>
        
     </volist>
     
    <li  class="be "><a rel="nofollow"  href="/about/1.html" style="padding:0 42px;">使用帮助</a></li>
<li class="jg" style="float:right;"></li>

</ul>
<div class="clear"></div>
</div>
